import objgraph
import schedule


def dosomething():
    objgraph.show_growth()
    # ........ 爬取任务
    pass


schedule.every(1).minutes.do(dosomething)